@extends('layouts.admin')
@push('css')
<link rel="stylesheet" href="{{ config('admin.layui.admin.cdn') }}layuiadmin/style/login.css" media="all">
@endpush
@section('script')
<script>
    new Wanyue().layuiAdmin.login({
        title: "{{ config('admin.layui.admin.title') }}"
        , subtitle: "{{ config('admin.layui.admin.subtitle') }}"
        , form: {
            username: 'name'
            , password: 'password'
            , csrf: {name: '_token', value: '{{ csrf_token() }}'}
        }
    }, {
        url: {
            submit: '{{ url()->current() }}'
            , jump: '{{ route("admin.index") }}'
        }
    });
</script>
@endsection
